#!/bin/sh

if [ ! -e ./sandcat.desktop.in ]
then
	exit 1;
fi

cp ./sandcat.desktop.in ./sandcat.desktop
if [ $? != 0 ]
then
	exit 1;
fi

echo Exec=sandcat $@ >> ./sandcat.desktop
if [ $? != 0 ]
then
	rm -f ./sandcat.desktop
	exit 1;
fi